package com.yf.train.modules.train.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
* <p>
* 训练答题结果实体类
* </p>
*
* @author 聪明笨狗
* @since 2022-03-01 18:42
*/
@Data
@TableName("el_repo_train_qa")
public class RepoTrainQa extends Model<RepoTrainQa> {

    private static final long serialVersionUID = 1L;
    
    /**
    * 自增ID
    */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    
    /**
    * 试卷ID
    */
    @TableField("train_id")
    private String trainId;
    
    /**
    * 题目ID
    */
    @TableField("qu_id")
    private String quId;
    
    /**
    * 回答项ID
    */
    @TableField("answer_id")
    private String answerId;
    
    /**
    * 是否正确项
    */
    @TableField("is_right")
    private Boolean isRight;
    
    /**
    * 填空题
    */
    private String answer;
    
    /**
    * 是否选中
    */
    private Boolean checked;
    
}
